<?xml version="1.0" encoding="UTF-8"?>
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:f="http://java.sun.com/jsf/core"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:p="http://primefaces.org/ui"
      xmlns:ui="http://java.sun.com/jsf/facelets">

<h:head>
    <title>Index page</title>
</h:head>
<h:body>

    <h:link value="Sign in" outcome="login" /><br />

    <h:outputText value="Users: " />

    <h:dataTable value="#{studentBean.getAllStudents()}" var="student">
        <h:column>#{student.firstName}</h:column>
        <h:column>#{student.secondName}</h:column>
        <h:column>#{student.email}</h:column>
        <h:column>#{student.highSchoolName}</h:column>
        <h:column>#{student.department}</h:column>
        <!--h:column>#{student.group.course.name}</h:column-->
    </h:dataTable>

    <br />





</h:body>
</html>